import request from '@/utils/request'

// 查询修改历史记录列表
export function listSysUpdateRecord(query) {
  return request({
    url: '/record/sysUpdateRecord/list',
    method: 'get',
    params: query
  })
}

// 查询修改历史记录详细
export function getSysUpdateRecord(id) {
  return request({
    url: '/record/sysUpdateRecord/' + id,
    method: 'get'
  })
}

// 保存修改历史记录
export function saveSysUpdateRecord(data) {
  return request({
    url: '/record/sysUpdateRecord/save',
    method: 'post',
    data: data
  })
}

// 删除修改历史记录
export function delSysUpdateRecord(id) {
  return request({
    url: '/record/sysUpdateRecord/' + id,
    method: 'delete'
  })
}

// 导出修改历史记录
export function exportSysUpdateRecord(query) {
  return request({
    url: '/record/sysUpdateRecord/export',
    method: 'get',
    params: query
  })
}
